package de.fuberlin.kosmik;

/**
 * Some string processing helper functions.
 * 
 */
public final class StrUtils {

	private StrUtils() {
		// utility class
	}

	/**
	 * Checks if a string is whether null nor empty.
	 * 
	 * @param string to check
	 * @return true, if string is not null and not empty
	 */
	public static boolean isNotEmpty(String string) {
		return string != null && string.length() > 0;
	}

}
